<jsp:useBean id="sessiondata" class="bibbletex.models.SessionData"
	scope="session" />

<%@ page import="bibbletex.models.Collaboration, bibbletex.models.Reference, bibbletex.models.SessionData"%>

<%
	Collaboration c = Collaboration.load
	Collaboration c = sessiondata.getCollaboration();
	Reference r = new Reference(rr);
	c.addReference(r);
	sessiondata.setReference(r);
%>

<%
	String page_title = new String("New Reference for Collaboration "
			+ sessiondata.getCollaboration().getTitle());
	boolean show_title = true;
%>

<%@ include file="/header.jsp"%>

<form action="/collaboration/reference/process.jsp" method="post">
	
	<div class="form-line">
		<div class="title">
			<label for="title">Title:</label>
		</div>
		<div class="box">
			<input type="text" name="title" />
		</div>
	</div>
	
	<div class="form-line">
		<div class="title">
			<label for="type">Type:</label>
		</div>
		<div class="box">
			<select name="type">
				<option>Article</option>
				<option>Book</option>
			</select>
		</div>
	</div>

	<div class="form-line">
		<div class="title">
			<label for="authors">Authors:</label>
		</div>
		<div class="box">
			<input type="text" name="authors" />
		</div>
	</div>

	<div class="form-line submit-center">
		<input type="submit" value="Save" />
	</div>
	
</form>

<%@ include file="/footer.jsp"%>
